<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C++ API Reference: JCMediaChannelJoinParam类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C++ API Reference
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_j_c_media_channel_join_param-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">JCMediaChannelJoinParam类 参考<div class="ingroups"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html">媒体频道模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_j_c_media_channel_8h_source.html">JCMediaChannel.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ace2d787e9fce6c86a1007ddb86ab9d59"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#ace2d787e9fce6c86a1007ddb86ab9d59">JCMediaChannelJoinParam</a> ()</td></tr>
<tr class="separator:ace2d787e9fce6c86a1007ddb86ab9d59"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aa8db5a30b41da72b1b7852f52cc50ff1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#aa8db5a30b41da72b1b7852f52cc50ff1">capacity</a></td></tr>
<tr class="separator:aa8db5a30b41da72b1b7852f52cc50ff1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71a5c68aa94f7fdf14d7d541fb703d0e"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#a71a5c68aa94f7fdf14d7d541fb703d0e">cdn</a> [512]</td></tr>
<tr class="separator:a71a5c68aa94f7fdf14d7d541fb703d0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcddd24c84ea7c2f9e278ad0bfb0ac1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_j_c_media_channel_record_param.html">JCMediaChannelRecordParam</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#afcddd24c84ea7c2f9e278ad0bfb0ac1d">record</a></td></tr>
<tr class="separator:afcddd24c84ea7c2f9e278ad0bfb0ac1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d07cebcba96b1b983a13c76db636251"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#a3d07cebcba96b1b983a13c76db636251">password</a> [64]</td></tr>
<tr class="separator:a3d07cebcba96b1b983a13c76db636251"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2db2b6ea23afa3fd82960c04b117e334"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#a2db2b6ea23afa3fd82960c04b117e334">smooth</a></td></tr>
<tr class="separator:a2db2b6ea23afa3fd82960c04b117e334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe577917aa6d9a977474b14c8cb86c8b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga553b1054936996b429154f8c9be55c6f">JCMediaChannelMaxResolution</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#abe577917aa6d9a977474b14c8cb86c8b">maxResolution</a></td></tr>
<tr class="separator:abe577917aa6d9a977474b14c8cb86c8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab131b669d7560fa39120df3de213854a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#ab131b669d7560fa39120df3de213854a">uriMode</a></td></tr>
<tr class="separator:ab131b669d7560fa39120df3de213854a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075f6759ed0dca00441d5ed76c012299"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#a075f6759ed0dca00441d5ed76c012299">heartbeatTime</a></td></tr>
<tr class="separator:a075f6759ed0dca00441d5ed76c012299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4248406a03b02416537f01b5de2296e1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#a4248406a03b02416537f01b5de2296e1">heartbeatTimeout</a></td></tr>
<tr class="separator:a4248406a03b02416537f01b5de2296e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ab2019a2e49360ac2db14b6ec8e5a5d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#a6ab2019a2e49360ac2db14b6ec8e5a5d">framerate</a></td></tr>
<tr class="separator:a6ab2019a2e49360ac2db14b6ec8e5a5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef82f4c5133c3f503f7f50d1f406cd28"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#aef82f4c5133c3f503f7f50d1f406cd28">customProperty</a> [1024]</td></tr>
<tr class="separator:aef82f4c5133c3f503f7f50d1f406cd28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a330a746c2dbd082a50dc95d2f2765104"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#a330a746c2dbd082a50dc95d2f2765104">customVideoResolution</a> [128]</td></tr>
<tr class="separator:a330a746c2dbd082a50dc95d2f2765104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a197fa083476fe5a0ec2cd3f5131dbd97"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_media_channel_join_param.html#a197fa083476fe5a0ec2cd3f5131dbd97">videoRatio</a></td></tr>
<tr class="separator:a197fa083476fe5a0ec2cd3f5131dbd97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>加入参数，第一个加入者有效,作为 <a class="el" href="class_j_c_media_channel.html#acfdb1da52955cf8b01d95527eb28890b">join</a> 方法最后一个参数的入参 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ace2d787e9fce6c86a1007ddb86ab9d59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace2d787e9fce6c86a1007ddb86ab9d59">&#9670;&nbsp;</a></span>JCMediaChannelJoinParam()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JCMediaChannelJoinParam::JCMediaChannelJoinParam </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>构造函数 </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="aa8db5a30b41da72b1b7852f52cc50ff1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8db5a30b41da72b1b7852f52cc50ff1">&#9670;&nbsp;</a></span>capacity</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int JCMediaChannelJoinParam::capacity</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>会议最大人数,默认值为16 </p>

</div>
</div>
<a id="a71a5c68aa94f7fdf14d7d541fb703d0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71a5c68aa94f7fdf14d7d541fb703d0e">&#9670;&nbsp;</a></span>cdn</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char JCMediaChannelJoinParam::cdn[512]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>推流参数 </p>

</div>
</div>
<a id="aef82f4c5133c3f503f7f50d1f406cd28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef82f4c5133c3f503f7f50d1f406cd28">&#9670;&nbsp;</a></span>customProperty</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char JCMediaChannelJoinParam::customProperty[1024]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>最大码率 自定义属性 </p>

</div>
</div>
<a id="a330a746c2dbd082a50dc95d2f2765104"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a330a746c2dbd082a50dc95d2f2765104">&#9670;&nbsp;</a></span>customVideoResolution</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char JCMediaChannelJoinParam::customVideoResolution[128]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>自定义媒体每层参数，格式"基数 第一层倍数 第一层码率 第二层倍数 第二层码率 第三层倍数 第三层码率 第四层倍数 第四层码率" 例如 "120 3 750 4 950 6 1200 9 1600" 第一层360P,码率750kbps,第二层480P,码率950kbps,第三层720P,码率1200kbps,第四层1080P,码率1600kbps 如果一致的层数越多越省流量 </p>

</div>
</div>
<a id="a6ab2019a2e49360ac2db14b6ec8e5a5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ab2019a2e49360ac2db14b6ec8e5a5d">&#9670;&nbsp;</a></span>framerate</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int JCMediaChannelJoinParam::framerate</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>帧率 1-30, 默认值为24 </p>

</div>
</div>
<a id="a075f6759ed0dca00441d5ed76c012299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a075f6759ed0dca00441d5ed76c012299">&#9670;&nbsp;</a></span>heartbeatTime</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int JCMediaChannelJoinParam::heartbeatTime</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>心跳间隔，默认值为20 </p>

</div>
</div>
<a id="a4248406a03b02416537f01b5de2296e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4248406a03b02416537f01b5de2296e1">&#9670;&nbsp;</a></span>heartbeatTimeout</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int JCMediaChannelJoinParam::heartbeatTimeout</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>心跳超时，默认值为60 </p>

</div>
</div>
<a id="abe577917aa6d9a977474b14c8cb86c8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe577917aa6d9a977474b14c8cb86c8b">&#9670;&nbsp;</a></span>maxResolution</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga553b1054936996b429154f8c9be55c6f">JCMediaChannelMaxResolution</a> JCMediaChannelJoinParam::maxResolution</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>会议最大分辨率，默认为 <a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga553b1054936996b429154f8c9be55c6faabc2a5c90b6c01554c6364ef044a582e">JCMediaChannelMaxResolution360P</a> ：</p><ul>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga553b1054936996b429154f8c9be55c6faabc2a5c90b6c01554c6364ef044a582e">JCMediaChannelMaxResolution360P</a> : 最大分辨率 360p</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga553b1054936996b429154f8c9be55c6fa98c4fe22a9306ee5fadc9ab4880d9885">JCMediaChannelMaxResolution720P</a> : 最大分辨率 720p</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gga553b1054936996b429154f8c9be55c6fa8c36a7f9d0eabcd8d1f35182d09cf328">JCMediaChannelMaxResolution1080P</a> : 最大分辨率 1080p </li>
</ul>

</div>
</div>
<a id="a3d07cebcba96b1b983a13c76db636251"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d07cebcba96b1b983a13c76db636251">&#9670;&nbsp;</a></span>password</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char JCMediaChannelJoinParam::password[64]</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>密码 </p>

</div>
</div>
<a id="afcddd24c84ea7c2f9e278ad0bfb0ac1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcddd24c84ea7c2f9e278ad0bfb0ac1d">&#9670;&nbsp;</a></span>record</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_j_c_media_channel_record_param.html">JCMediaChannelRecordParam</a> JCMediaChannelJoinParam::record</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>录制参数 </p>

</div>
</div>
<a id="a2db2b6ea23afa3fd82960c04b117e334"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2db2b6ea23afa3fd82960c04b117e334">&#9670;&nbsp;</a></span>smooth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCMediaChannelJoinParam::smooth</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>是否开启平滑模式，默认开启</p><ul>
<li>true: 开启</li>
<li>false: 不开启 </li>
</ul>

</div>
</div>
<a id="ab131b669d7560fa39120df3de213854a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab131b669d7560fa39120df3de213854a">&#9670;&nbsp;</a></span>uriMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCMediaChannelJoinParam::uriMode</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>是否开启 uri 模式, join 函数的参数为会议 uri,默认不开启</p><ul>
<li>true: 开启</li>
<li>false: 不开启 </li>
</ul>

</div>
</div>
<a id="a197fa083476fe5a0ec2cd3f5131dbd97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a197fa083476fe5a0ec2cd3f5131dbd97">&#9670;&nbsp;</a></span>videoRatio</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float JCMediaChannelJoinParam::videoRatio</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>会议画面比例，传入值为宽高比浮点数，默认16:9 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>SDK/all/include/<a class="el" href="_j_c_media_channel_8h_source.html">JCMediaChannel.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
